﻿using DroneLib;
using DroneLib.Communication;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Text;

namespace DroneLib.Vehicles
{
    partial class Vehicle
    {
        PointLatLngAlt _PositionLatLngAlt = new PointLatLngAlt();
        PointLatLngAlt _PositionLatLngAlt2 = new PointLatLngAlt();
        Attitude _Attitude = new Attitude();
        NavigationInfo _NavigationInfo = new NavigationInfo();
        PowerInfo _PowerInfo = new PowerInfo();
        SpeedInfo _SpeedInfo = new SpeedInfo();
        GpsInfo _GpsInfo = new GpsInfo();
        GpsInfo _GpsInfo2 = new GpsInfo();

        MavStream _MavStream;
        static Dictionary<string, MavStream> _Links = new Dictionary<string, MavStream>();
        //static Dictionary<byte, Vehicle> _KnownVehicles = new Dictionary<byte, Vehicle>();
        static ConcurrentDictionary<Guid, Vehicle> _KnownVehicles = new ConcurrentDictionary<Guid, Vehicle>();

        internal float _Multiplierspeed = 1;

        public Dictionary<string, ParamInfo> ParamInfo { get; set; }

        protected MAVFtp _Ftp;
    }
}
